The obsolete ways of installing. Keeping it in the developer part for a few more months
And depending on which installation method you choose you may also need one or more of the following:
Obsolete Net Install: chrproot.tar.gz
Obsolete HD Install: chrproot.tar.gz, hdinstall.lha
First you will have to install a base system, so you will be able to boot Linux/APUS from the hard disk instead of from the ram disk - giving you more flexibility and tools to install applications. You can do this in one of two ways.
Text and script by Sven Ottemann
Unpack the archive:
lha x hdinstall.lha |
Boot the precompiled kernel, using the ram disk as root.
Log in as root (with an empty password) and execute these commands:
mount -t affs /dev/your_ados_partition /mnt sh /mnt/hdinstall |
your_ados_partition is the disk partition where the script is located. On a SCSI disk "HD0:" this would be "/dev/sda1" and on an IDE disk it would be "/dev/hda1". This presumes you are using the first partition on the first hard disk in the chain; increase numbers for next partition (HD1: = /dev/sda2) and "increase" letters for next disk (/dev/sdb1). The files from the hdinstall.lha archive should be in the root of this drive (i.e., not hidden away in some subdirectory).
path is the path to where the hdinstall script is located.
See further down for details about the questions asked by the script.
The generic Linux/PPC net installation (see www.linuxppc.org/help/install_help/PReP/network_install.cgi) can fortunately be used without too much hassle under Linux/APUS.
This used to be the only way to install the minimal system before the hdinstall script was made. If you're not a true warrior, the hdinstall method is probably the smartest way of installing a system - and it doesn't require an extra Linux box as this method does.
I didn't scare you off? OK, then you should read the documentation (see link above). A few hints: put the chrproot archive on the slave box (remains compressed), write IP stuff down and generally follow your hacker instincts.
Boot the precompiled kernel, using the ram disk as root.
Log in as root (with an empty password) and execute this instruction:
crdisk-net |
Now the script should be running. It's pretty simple to use; you are asked a handful of questions and when done (if you passed the test :) it will install the files from the minimal file system archive on your new root partition.
The things to be careful about are:
When the disk partition program is started: quit it. You should already have prepared the partitions under Amiga DOS.
Options for mke2fs: you might want 1kB blocks.
When the script asks for install disk: replace with hda/hdb/sda/sdb as appropriate. See kernel-options.txt for help on the device names.
When the script asks for the root and swap partitions: enter the right partitions.
When you have installed this minimal system, you are ready to install packages.
When you have installed the minimal system, reset the machine (the hard way) and reboot the kernel, but replace the /dev/ram/ part of root=/dev/ram with whatever device you installed the root system to (e.g., /dev/hdb1). This will boot Linux/APUS using the hard disk as boot device.
Mount a drive with the RPM packages. Install them in alphabetic order by using a small rune like:
for f in `ls /path/*.rpm`;do rpm -ivh --force --nodeps $f;done |
If you are a bit more on the exotic side, it can also be done via FTP. First make a list of package names you want to install, then do:
for f in `cat list`;do rpm -ivh --force --nodeps ftp://ftp:foobar@ip-address/path/$f;done |
where ip-address and path must be replaced with whatever is appropriate for your system.